#include <allegro.h>
 
int main ()
{
	allegro_init();
	install_sound(DIGI_AUTODETECT,MIDI_AUTODETECT,NULL);
	install_keyboard();
	set_color_depth(32);
	set_gfx_mode(GFX_AUTODETECT_WINDOWED, 800,600,0,0);
	MIDI *zelda;
	zelda = load_midi("zelda.mid");
	play_midi(zelda,TRUE);
	readkey();
	stop_midi(); 
	return 0;
}
END_OF_MAIN();